xend: pass-through: prefix vslot with 0x in device configration
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Jun 2009 09:39:32 +0000 (10:39 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Jun 2009 09:39:32 +0000 (10:39 +0100)
commit418ab3dcc0df5b61f7b491e9a56e0ab45a323e0c
tree9567d39d8611fef3bdcaed6ec01d591a1cb15596
parent431c6dde55324282e74679a57b15745146a990bf
xend: pass-through: prefix vslot with 0x in device configration

I don't know of the historical reasons for this, but by convention
hex values are stored without a leading '0x' in the backend and
with a leading '0x' in the device configuration.

This patch also removes handling of the case where vslot is missing
from the backend, should never occur.

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/server/pciif.py